package com.ruoyi.student.service.impl;

import com.ruoyi.student.domain.XzkInfoStudent;
import com.ruoyi.student.mapper.XzkInfoStudentMapper;
import com.ruoyi.student.service.IXzkInfoStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class XzkInfoStudentServiceImpl implements IXzkInfoStudentService {

    @Autowired
    private XzkInfoStudentMapper xzkInfoStudentMapper;

    /**
     * 根据手机好查询当前学员的数据
     * @param sginphone
     * @return
     */
    @Override
    public List<XzkInfoStudent> selectXzkStudentBySginPhone(String sginphone) {
        return xzkInfoStudentMapper.selectXzkStudentBySginPhone(sginphone);
    }

    @Override
    public List<XzkInfoStudent> selectXzkInfoStudentByForId(Long stuid) {
        return xzkInfoStudentMapper.selectXzkInfoStudentByForId(stuid);
    }
}
